<template>
  <div class="body">
    <syheader title="联系我们" />
    <div class="aa">
      <div class="a_left">
        <span></span>
        <p>杜拉拉</p>
      </div>
      <div class="a_right">
        <img src="../assets/xiaoxi.png" alt="">
        <p>你是注册会员</p>
      </div>
    </div>
    <div class="bb">
      <div class="b_top">
        <h2>我的订单</h2>
        <p>查看全部订单 ></p>
      </div>
      <div class="b_bottom">
        <ul>
          <li>
            <img src="../assets/ding.png" alt="">
            <p>代付款</p>
          </li>
          <li>
            <img src="../assets/ding.png" alt="">
            <p>代付款</p>
          </li>
          <li>
            <img src="../assets/ding.png" alt="">
            <p>代付款</p>
          </li>
        </ul>
      </div>
    </div>
    <div class="dingdan">
      <ul>
        <li>
          <img src="../assets/shoucang.png" alt="">
          <p>我的收藏</p>
          <span>></span>
        </li>
        <li>
          <img src="../assets/adress.png" alt="">
          <p>我的收货地址</p>
          <span>></span>
        </li>
      </ul>
    </div>
    <div class="youhui">
      <ul>
        <li>
          <img src="../assets/money.png" alt="">
          <p>我的优惠券</p>
          <span>></span>
        </li>
        <li>
          <img src="../assets/team.png" alt="">
          <p>我的团队</p>
          <span>></span>
        </li>
      </ul>
    </div>
    <div class="zhuce">
      <ul>
        <li>
          <img src="../assets/denglu.png" alt="">
          <p>注销登录</p>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
import syheader from "../components/syheader.vue";
import axios from "axios";

export default {
  name: "wo",
  components: {
      syheader
  }
};
</script>

<style scoped lang="scss">
.body {
  background: #f2f2f2;
}

.aa {
  height: 1.9rem;
  background: linear-gradient(#954f70, #cd545a);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  .a_left {
    display: flex;
    flex-direction: row;
    span {
      display: inline-block;
      width: 1.04rem;
      height: 1.04rem;
      background: #fff;
      border-radius: 50%;
      margin-left: 0.54rem;
      margin-top: 0.43rem;
    }
    p {
      color: #fff;
      margin-top: 0.8rem;
      margin-left: 0.3rem;
    }
  }
  .a_right {
    img {
      margin-left: 1.9rem;
      width: 0.38rem;
      height: 0.45rem;
      margin-top: 0.3rem;
    }
    p {
      width: 2.6rem;
      height: 0.5rem;
      line-height: 0.5rem;
      text-align: center;
      background: rgba(194, 133, 148, .5);
      color: #fff;
      margin-top: 0.2rem;

      border-top-left-radius: 0.25rem;
      border-bottom-left-radius: 0.25rem;
    }
  }
}

.bb {
  margin-top: 0.15rem;
  height: 2.24rem;
  background: #fff;
  .b_top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    line-height: 0.93rem;
    height: 0.93rem;
    margin-left: 0.3rem;
    border-bottom: 1px solid #ccc;
    p {
      font-size: 0.2rem;
      color: #adadad;
    }
  }
  .b_bottom {
    margin-left: 0.3rem;

    ul {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      li {
        text-align: center;
        margin-top: 0.2rem;
        img {
          width: 0.4rem;
          height: 0.4rem;
        }
        p {
          margin-top: 0.15rem;
        }
      }
    }
  }
}

.dingdan {
  margin-top: 0.15rem;
  height: 2rem;
  background: #fff;
  ul {
    li:first-child {
      border-bottom: 1px solid #ccc;
    }
    li {
      display: flex;
      flex-direction: row;
      height: 1rem;
      margin-left: 0.3rem;
      line-height: 1rem;
      img {
        width: 0.62rem;
        height: 0.62rem;
        margin-top: 0.12rem;
        margin-right: 0.2rem;
      }
      p {
        width: 83%;
      }
    }
  }
}

.youhui {
  margin-top: 0.15rem;
  height: 2rem;
  background: #fff;
  ul {
    li:first-child {
      border-bottom: 1px solid #ccc;
    }
    li {
      display: flex;
      flex-direction: row;
      height: 1rem;
      margin-left: 0.3rem;
      line-height: 1rem;
      img {
        width: 0.62rem;
        height: 0.62rem;
        margin-top: 0.12rem;
        margin-right: 0.2rem;
      }
      p {
        width: 83%;
      }
    }
  }
}

.zhuce {
  height: 1rem;
  margin-top: 0.15rem;
  background: #fff;
  border-bottom: 3rem solid #f2f2f2;
  ul {
    li {
      display: flex;
      flex-direction: row;
      height: 1rem;
      margin-left: 0.3rem;
      line-height: 1rem;
      img {
        width: 0.62rem;
        height: 0.62rem;
        margin-top: 0.12rem;
        margin-right: 0.2rem;
      }
      p {
       cursor: pointer;
        width: 83%;
      }
       p:hover{
        color: red;
      }
    }
  }
}
</style>
